package com.xindacloud.sms.portal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;


@Data
@Builder
@TableName
@Deprecated
public class SmsProject implements Serializable {

    private static final long serialVersionUID = 1573177538500L;


    /**
     * 主键
     * UUID
     * isNullAble:0
     */
    private String projectId;

    /**
     * 用户ID
     * isNullAble:1
     */
    private Integer createUserId;

    /**
     * 项目名称
     * isNullAble:0
     */
    private String smsProjectName;

    /**
     * 用于发送SMS
     * isNullAble:0
     */
    private String password;

    /**
     * 秘钥
     * isNullAble:0
     */
    private String token;

    /**
     * 通道类型sms,voice
     * isNullAble:1
     */
    private String channelType;

    /**
     * 创建时间
     * isNullAble:1,defaultVal:CURRENT_TIMESTAMP
     */
    private java.time.LocalDateTime createDate;

    /**
     * 回调URL
     * isNullAble:1
     */
    private String callBack;


    @Override
    public String toString() {
        return "SmsProject{" +
                "projectId='" + projectId + '\'' +
                "createUserId='" + createUserId + '\'' +
                "smsProjectName='" + smsProjectName + '\'' +
                "password='" + password + '\'' +
                "token='" + token + '\'' +
                "channelType='" + channelType + '\'' +
                "createDate='" + createDate + '\'' +
                "callBack='" + callBack + '\'' +
                '}';
    }
}
